package com.sys.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sys.management.pojo.evaluationmanagement;
import com.sys.management.pojo.evaluationvo;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository//持久类
public interface EvaluationMapper extends BaseMapper<evaluationmanagement> {
    @Select("select evaluationmanagement.eid,ename,edepartment,isbreak,breakexplain,isreward,rewardexplain,evacontent from evaluationmanagement,employeeinformation where employeeinformation.eid=evaluationmanagement.eid")
    List<evaluationvo> evaluationVo();
}
